package cn.jzq.kotoba.modules.principle;

/**
 * Interface Segregation Principle (ISP) - 接口分隔原则
 * 不能强迫用户去依赖那些他们不使用的接口
 */
public class AlarmDoor implements Door, Alarm{
//    public class AlarmDoor extends CommonDoor implements Alarm{

    @Override
    public String alarm() {
        return "didididi";
    }

    @Override
    public void lock() {

    }

    @Override
    public void unlock() {

    }
}
